@import '~antd/lib/style/themes/default.less';
@import '~antd/dist/antd.less';
@import './base.less';

html {
  width: 100%;
  height: 100%;
}
body {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#root {
  width: 100%;
  height: 100%;
}

// ------------------------------- 全局公用样式
::-webkit-scrollbar-track-piece {
  background-color:rgb(63, 65, 69);
}
::-webkit-scrollbar {
  width:6px;
  height:6px;
}
::-webkit-scrollbar-thumb {
  background-color: rgb(111, 114, 119);
  background-clip: padding-box;
  min-height:28px;
  border-radius: 3px;
}

// confrm 样式
.global-confirm-modal {
  .ant-modal-content {
    background-color: #222;
  }
  .ant-modal-confirm-title {
    color: #fff;
  }
  .ant-modal-confirm-content {
    
  }
  .ant-modal-confirm-btns {
    .ant-btn-default {
      color: #141414;
      background-color: #cbcbcb;
      border: none;

      &:hover, &:focus, &:active {
        color: @primary-color;
        background-color: #e9e9e9;
      }
    }
  }
}


// ----------------- antd 全局样式覆盖 ---------------
.ant-message-notice-content {
  background: rgba(0,0,0,.8);
}
